<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="z" uri="zz"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>官网</title>
<meta name="Keywords" Content="免费,开发平台,快速开发管理系统,集成开发环境,零编码,动态配置方式" />
<meta name="Description" Content="通过Z平台集成开发环境，以零编码、动态配置的方式能够快速开发BS管理系统。" />
<%@include file="/views/common/common.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
function cms_form_query(pagenum){
	if(pagenum==null || pagenum==''){
		pagenum = '1';
	}
	var zid = '${zid}';
	window.location.href='cms_column1?zid='+zid+'&pagenum='+pagenum;
}
</script>
</head>
<body>
	<%@include file="../head.jsp"%>
	<div class="container"> 
		<div class="row">
			<div class="col-md-8">
				<div class="row">
					<div class="col-md-12 pt-3">
						${tn}
					</div>
					<div class="col-md-12 "><hr></div>
					
					<c:if test="${nowColumn.column_type=='3'}" >
						<!-- 独立栏目 -->
						<div class="col-md-12 ">${nowColumn.info}</div>
			  		</c:if>
			  		<c:if test="${nowColumn.column_type!='3'}" >
			  		
			  			<!-- 输出所有子栏目 -->
			  			<c:forEach items="${detailList}" var="dl">
			  				<c:if test="${nowColumn.zid!=dl.zid}" >
								<a class="btn btn-light" href="${dl.url}">${dl.column_name}</a>
					  		</c:if>
			  			</c:forEach>
			  			<c:if test="${detailList.size()>=0}" >
							<div class="col-md-12 "><hr></div>
					  	</c:if>
			  			
			  			<!-- 列表栏目 -->
						<c:forEach items="${clist}" var="L0">
						<div class="col-md-12 ">
								<div class="row">
									<div class="col-md-4">
										<a class="clearA" href="open_cms?zid=${L0.zid}">
											<c:if test="${L0.img1==null}" >
												<img width="200px" height="130px" src="img/web/zw.jpg">
											</c:if>
											<c:if test="${L0.img1!=null}" >
												<img width="200px" height="130px" src="${L0.img1}">
											</c:if>
										</a>
									</div>
									<div class="col-md-8">
										<div class="row">
											<div class="col-md-12 font-weight-bold"><a class="clearA" href="open_cms?zid=${L0.zid}">${L0.title1}</a></div>
											<div class="col-md-12">${L0.title2}</div>
											<div class="col-md-12">${L0.publish_user} ${L0.publish_time}</div>
										</div>
									</div>
								</div>
							</div>
							<div class="col-md-12 "><hr></div>
						</c:forEach>
						<div class="col-md-12 ">
							${PagingHtml}
						</div>
			  		</c:if>
					
				</div>
			</div>
			<div class="col-md-4 ">
				<%@include file="right.jsp"%>
			</div>
		</div>
	</div>
	<%@include file="../foot.jsp"%>
</body>
</html>